// swift-tools-version:5.3
import PackageDescription

let package = Package(
    name: "FinAppletSDK",
    platforms: [.iOS(.v9)],
    products: [
        .library(name: "FinApplet", targets: ["FinApplet"]),
        .library(name: "FinAppletExt", targets: ["FinAppletExt", "FinApplet"]),
        .library(name: "FinAppletBDMap", targets: ["FinAppletBDMap", "FinApplet"]),
        .library(name: "FinAppletBLE", targets: ["FinAppletBLE", "FinApplet"]),
        .library(name: "FinAppletCalendar", targets: ["FinAppletCalendar", "FinApplet"]),
        .library(name: "FinAppletClipBoard", targets: ["FinAppletClipBoard", "FinApplet"]),
        .library(name: "FinAppletContact", targets: ["FinAppletContact", "FinApplet"]),
        .library(name: "FinAppletGDMap", targets: ["FinAppletGDMap", "FinApplet"]),
        .library(name: "FinAppletShare", targets: ["FinAppletShare", "FinApplet"]),
        .library(name: "FinAppletTXMap", targets: ["FinAppletTXMap", "FinApplet"]),
        .library(name: "FinAppletWXExt", targets: ["FinAppletWXExt", "FinApplet"]),
        .library(name: "FinAppletLive", targets: ["FinAppletLive", "FinApplet", "WebRTC"]),
    ],
    targets: [
        .binaryTarget(
            name: "FinApplet",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinApplet.xcframework.zip",
            checksum: "eecba43fe1b7e762611a6c8365e259d0f345ac314b365d9de4c8f3ed886ba024"
        ),
        .binaryTarget(
            name: "FinAppletExt",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletExt.xcframework.zip",
            checksum: "d2985f67298b49fe04aa7e0f5052e058f0c7d31d92a2b5fd09762dba5d3931c8"
        ),
        .binaryTarget(
            name: "FinAppletBDMap",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletBDMap.xcframework.zip",
            checksum: "fca71429d179a15b43475d6d96e6c80dc0dda9e40857fddcf4cc6f93d88efb2e"
        ),
        .binaryTarget(
            name: "FinAppletBLE",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletBLE.xcframework.zip",
            checksum: "6b6c1c52d681417d4654840f5e688143b112adf138a332515ec7b5e8c6f24492"
        ),
        .binaryTarget(
            name: "FinAppletCalendar",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletCalendar.xcframework.zip",
            checksum: "d81ea9f0b65cc1c07971d749c1eed4e01aa3c3d65697ef583a8da609e59437da"
        ),
        .binaryTarget(
            name: "FinAppletClipBoard",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletClipBoard.xcframework.zip",
            checksum: "2e6bd6fcf78a8ba218c4a30825783d1de4c5c1da22007e529da2404afeaa839e"
        ),
        .binaryTarget(
            name: "FinAppletContact",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletContact.xcframework.zip",
            checksum: "a1923b753866f451bacd1dbab40b5a96dfe5d415a65e090f63227ed7d3158901"
        ),
        .binaryTarget(
            name: "FinAppletGDMap",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletGDMap.xcframework.zip",
            checksum: "c12a42ff79df2df112ca5e33d43f0153d71dd54eda63befdc9b318a52cc6589e"
        ),
        .binaryTarget(
            name: "FinAppletShare",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletShare.xcframework.zip",
            checksum: "351905f66e871db29f1870c325cdea32841c785fa41caee08095a72987ab7ffa"
        ),
        .binaryTarget(
            name: "FinAppletTXMap",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletTXMap.xcframework.zip",
            checksum: "351cf698fba0c2ba0dc529afe9ea7ce6c64a85378d13c6cfbf7ae1c4520dd19e"
        ),
        .binaryTarget(
            name: "FinAppletWXExt",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletWXExt.xcframework.zip",
            checksum: "1b90c1aad6056d49566f72934f7fd325923d149c717fa6aa7687266053896fb7"
        ),
        .binaryTarget(
            name: "WebRTC",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletLive/WebRTC.xcframework.zip",
            checksum: "0a5a344e738470d49e6a77249a3a6bfbc87b5ae79a133ad898d8b0390e8430b9"
        ),
        .binaryTarget(
            name: "FinAppletLive",
            url: "https://fantaijike-1258636250.cos.ap-nanjing.myqcloud.com/2.48.11/FinAppletLive/FinAppletLive.xcframework.zip",
            checksum: "315bd22efc587f257b0edb1863beb65480580be27fbb02ea0ca9de418e3cdb50"
        ),
        
    ]
)
